﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>

    <script src="Scripts/jquery-1.5.1.min.js" type="text/javascript"></script>
    <script src="Scripts/Jquery.Nform.js" type="text/javascript"></script>

    <script type="text/javascript">
        $(document).ready(function() {
            $("#btn_ok").bind("click", function() {
                var myjson = $('#form1').formToArray();
                alert(myjson.json(""));
            });
        });
    </script>

</head>
<body>
    <form id="form1" action="Login.htm">
    <div style="font-size: 12px; padding-left: 15px; padding-top: 15px;">
        <input id="Grade_Name" name="test" type="text" value="hi" />
        <input name="Grade" type="checkbox" value="0" />班级一
        <input name="Grade" type="checkbox" value="1" />班级二
        <input name="Grade" type="checkbox" value="2" />班级三
        <input name="Grade" type="checkbox" value="3" />班级四
        <input type="radio" name="identity" id="i1" value="0" checked="checked" />学生
        <input type="radio" name="identity" id="i2" value="1" />教师
        <input type="radio" name="identity" id="i3" value="2" />管理员
        <input id="Checkbox1" name="Pawd" type="checkbox" title="记住密码" />
        <input type="button" id="btn_ok" value="测试" />
        &nbsp;&nbsp;<span id="span_content">显示结果</span>
    </div>
    </form>
</body>
</html>
